Received: from alaska.et.byu.edu by darth.byu.edu (NX5.67d/NX3.0M)
id AA00398; Sun, 3 Jul 94 15:38:09 -0600
Received: from yvax1.byu.edu by alaska.et.byu.edu; Sun, 3 Jul 1994 15:38:47 -0600
Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.3-7 #7277)
id <01HE9WI2ZUE80Q80TJ@yvax.byu.edu>; Sun, 3 Jul 1994 15:38:29 MDT
Received: from alaska.et.byu.edu by yvax.byu.edu (PMDF V4.3-7 #7277)
id <01HE9WHZSRYOHTTAJJ@yvax.byu.edu>; Sun, 3 Jul 1994 15:38:25 MDT
Received: from yvax1.byu.edu by alaska.et.byu.edu; Sun,
3 Jul 1994 15:38:01 -0600
Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.3-7 #7277)
id <01HE9WH0JY2O0Q80TJ@yvax.byu.edu>; Sun, 3 Jul 1994 15:37:37 MDT
Received: from netcomsv.netcom.com (uucp9.netcom.com)
by yvax.byu.edu (PMDF V4.3-7 #7277) id <01HE9WGX1Q4GHTT8KE@yvax.byu.edu>; Sun,
3 Jul 1994 15:37:34 MDT
Received: from trwlasd.com by netcomsv.netcom.com with UUCP (8.6.4/SMI-4.1)
id OAA12282; Sun, 3 Jul 1994 14:37:46 -0700
Received: from ewsdev14 by trwlasd.com with SMTP id AA03794 (5.65c/IDA-1.4.5)
; Sun, 3 Jul 1994 14:17:52 -0700
Received: by ewsdev14 (NX5.67d/NX3.0X) id AA00309; Sun, 3 Jul 94 14:17:51 -0700
Received: by NeXT.Mailer (1.100)
Received: by NeXT Mailer (1.100)
Date: Sun, 03 Jul 1994 14:17:51 -0700
From: Bruce McKenzie <bruce@trwlasd.com>
Subject: Re: Foundation and Misc
To: tsengel@cip.informatik.uni-erlangen.de
Cc: misckit@byu.edu, miscstring@byu.edu
Message-Id: <199407032117.AA03794@trwlasd.com>
Content-Transfer-Encoding: 7BIT
> MiscString.... Hmm ok what about making it a subclass of
> NSString an add the missing methods + maybe some
> compatibility stuff for the first time. If the MiscKit would
> define a dummy NSString tomorrow we could start switching to
> the NSString where sufficient. And places that need more
> functionallity could be converted to Misc .... and would
> remain Misc in 4.0. It would be nice to use NSString really
> soon because methods should use it heavily for casting. If we
> have it all Misc.. We can distinguish later where NSString is
> sufficient and where MiscString really is required as an
> argument.
I'd recommend a different approach. Define a new class 'MiscStringNew' (excuse me, I'm onomatopoetically challenged) that is the subclass of NSString. Add the behaviour to it, and allow MiscString to wither (bug fixes only) until the world is using MiscStringNew.
I think a critical part of this migration is the separation and refinement of the API. Currently, MiscString is a kitchen sink of a class. There's a lot of great stuff there, but it is neither complete nor consistent in its offerings (e.g. you can search for chars in 37,000,000 ways, but there is limited support for *non regex* string searching).
Bruce
---
Bruce McKenzie (spuds@netcom.com, NeXTMail welcome)
Atlas Software Ventures, Inc.
PO Box 1299, Santa Clara, CA 95052-1299
800/278-9909 (ASV-9909)
*** Software Development, specializing in NEXTSTEP ***